package com.ruoyi.zzw.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 平安指数管理对象 t_safeness_index
 * 
 * @author ruoyi
 * @date 2023-12-06
 */
public class SafenessIndex extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long cSafenessId;

    /** 平安指数名称 */
    @Excel(name = "平安指数名称")
    private String cSafenessName;

    /** 平安指数 */
    @Excel(name = "平安指数")
    private String cSafenessIndex;

    /** 属于地区 */
    @Excel(name = "属于地区")
    private Long cRegionId;

    /** 删除标识（0已删除1未删除） */
    @Excel(name = "删除标识", readConverterExp = "0=已删除1未删除")
    private Long cIsDelete;

    /** 所属年 */
    @Excel(name = "所属年")
    private String cYear;

    /** 所属月 */
    @Excel(name = "所属月")
    private String cMonth;

    /** 指标id */
    @Excel(name = "指标id")
    private Long cPid;

    /** 平安指数级别 */
    @Excel(name = "平安指数级别")
    private String cLevel;

    /** 平安指数状态（0正常：绿色、1有波动：黄色、2警告：红色可点击） */
    @Excel(name = "平安指数状态", readConverterExp = "0=正常：绿色、1有波动：黄色、2警告：红色可点击")
    private Long cStatus;

    /** 类别 */
    @Excel(name = "类别")
    private Long cType;

    public void setcSafenessId(Long cSafenessId) 
    {
        this.cSafenessId = cSafenessId;
    }

    public Long getcSafenessId() 
    {
        return cSafenessId;
    }
    public void setcSafenessName(String cSafenessName) 
    {
        this.cSafenessName = cSafenessName;
    }

    public String getcSafenessName() 
    {
        return cSafenessName;
    }
    public void setcSafenessIndex(String cSafenessIndex) 
    {
        this.cSafenessIndex = cSafenessIndex;
    }

    public String getcSafenessIndex() 
    {
        return cSafenessIndex;
    }
    public void setcRegionId(Long cRegionId) 
    {
        this.cRegionId = cRegionId;
    }

    public Long getcRegionId() 
    {
        return cRegionId;
    }
    public void setcIsDelete(Long cIsDelete) 
    {
        this.cIsDelete = cIsDelete;
    }

    public Long getcIsDelete() 
    {
        return cIsDelete;
    }
    public void setcYear(String cYear) 
    {
        this.cYear = cYear;
    }

    public String getcYear() 
    {
        return cYear;
    }
    public void setcMonth(String cMonth) 
    {
        this.cMonth = cMonth;
    }

    public String getcMonth() 
    {
        return cMonth;
    }
    public void setcPid(Long cPid) 
    {
        this.cPid = cPid;
    }

    public Long getcPid() 
    {
        return cPid;
    }
    public void setcLevel(String cLevel) 
    {
        this.cLevel = cLevel;
    }

    public String getcLevel() 
    {
        return cLevel;
    }
    public void setcStatus(Long cStatus) 
    {
        this.cStatus = cStatus;
    }

    public Long getcStatus() 
    {
        return cStatus;
    }
    public void setcType(Long cType) 
    {
        this.cType = cType;
    }

    public Long getcType() 
    {
        return cType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cSafenessId", getcSafenessId())
            .append("cSafenessName", getcSafenessName())
            .append("cSafenessIndex", getcSafenessIndex())
            .append("cRegionId", getcRegionId())
            .append("cIsDelete", getcIsDelete())
            .append("cYear", getcYear())
            .append("cMonth", getcMonth())
            .append("cPid", getcPid())
            .append("cLevel", getcLevel())
            .append("cStatus", getcStatus())
            .append("cType", getcType())
            .toString();
    }
}
